// 版权归Go作者所有。保留所有权利。
// 此源代码的使用受BSD样式
// 许可证的约束，该许可证可以在许可证文件中找到。

// Linux系统调用包装器，通过
// 对应的cgo->libc（nptl）包装器为各种系统调用提供POSIX语义。

// go:build linux 

package cgo

import "unsafe"

// 需要以下每个条目来确保
// 系统调用。syscall_linux代码可以有条件地调用这些函数指针：
// 
// 1。找到C定义的函数start 
// 2。强制将本地字节别名映射到该位置
// 3。将指向函数的Go指针映射到系统调用包

// Go:cgo_import_static_cgo_libc_setegid 
// Go:linkname_cgo_libc_setegid_cgo_libc_setegid 
// Go:linkname cgo_libc_setegid系统调用。cgo_libc_setegid 
var _cgo_libc_setegid byte
var cgo_libc_setegid = unsafe.Pointer(&_cgo_libc_setegid)

// go:cgo_import_static_cgo_libc_seteuid 
// go:linkname_cgo_libc_seteuid_cgo_libc_seteuid 
// go:linkname cgo_libc_seteuid syscall。cgo_libc_seteuid 
var _cgo_libc_seteuid byte
var cgo_libc_seteuid = unsafe.Pointer(&_cgo_libc_seteuid)

// go:cgo_import_static_cgo_libc_setregid 
// go:linkname_cgo_libc_setregid_cgo_libc_setregid 
// go:linkname cgo_libc_setregid syscall。cgo_libc_setregid 
var _cgo_libc_setregid byte
var cgo_libc_setregid = unsafe.Pointer(&_cgo_libc_setregid)

// go:cgo_import_static_cgo_libc_setresgid 
// go:linkname_cgo_libc_setresgid_cgo_libc_setresgid 
// go:linkname cgo_libc_setresgid syscall。cgo_libc_setresgid 
var _cgo_libc_setresgid byte
var cgo_libc_setresgid = unsafe.Pointer(&_cgo_libc_setresgid)

// go:cgo_import_static _cgo_libc_setresuid 
// go:linkname_cgo_libc_setresuid _cgo_libc_setresuid 
// go:linkname cgo_libc_setresuid syscall。cgo_libc_setreuid 
var _cgo_libc_setresuid byte
var cgo_libc_setresuid = unsafe.Pointer(&_cgo_libc_setresuid)

// go:cgo_import_static_cgo_libc_setreuid 
// go:linkname_cgo_libc_setreuid_cgo_libc_setreuid 
// go:linkname cgo_libc_setreuid syscall。cgo_libc_setreuid 
var _cgo_libc_setreuid byte
var cgo_libc_setreuid = unsafe.Pointer(&_cgo_libc_setreuid)

// go:cgo_import_static_cgo_libc_setgroups 
// go:linkname_cgo_libc_setgroups_cgo_libc_setgroups 
// go:linkname cgo_libc_setgroups syscall。cgo_libc_setgroups 
var _cgo_libc_setgroups byte
var cgo_libc_setgroups = unsafe.Pointer(&_cgo_libc_setgroups)

// go:cgo_import_static_cgo_libc_setgid 
// go:linkname_cgo_libc_setgid_cgo_libc_setgid 
var _cgo_libc_setgid byte
var cgo_libc_setgid = unsafe.Pointer(&_cgo_libc_setgid)

// go:cgo_import_static_cgo_libc_setuid 
// go:linkname_cgo_libc_setuid_cgo_libc_setuid 
// go:linkname cgo_libc_setuid syscall。cgo_libc_setuid 
var _cgo_libc_setuid byte
var cgo_libc_setuid = unsafe.Pointer(&_cgo_libc_setuid)
